package com.yzc.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.yzc.mapper.SysLoginLogMapper;
import com.yzc.model.entity.analysis.LogBeanVo;
import com.yzc.service.SysLoginLogService;
import jakarta.annotation.Resource;
import org.springframework.stereotype.Service;

@Service
@SuppressWarnings({"unchecked", "rawtypes"})
public class SysLoginLogServiceImpl extends ServiceImpl<SysLoginLogMapper, LogBeanVo> implements SysLoginLogService {

	@Resource
	private SysLoginLogMapper sysLoginLogMapper;

	/**
	 * 记录登录信息
	 *
	 * @param sysLoginLog
	 * @return
	 */
	public void recordLoginLog(LogBeanVo sysLoginLog) {
		sysLoginLogMapper.insert(sysLoginLog);
	}
}